package com.example.teesystem.mapper;

import com.example.teesystem.entity.CourseData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
* @author ASUS
* @description 针对表【t_course_data】的数据库操作Mapper
* @createDate 2022-03-31 09:22:05
* @Entity com.example.teesystem.entity.CourseData
*/
@Mapper
public interface CourseDataMapper extends BaseMapper<CourseData> {
    @Update("update t_course_data set star = #{star} where id = #{id}")
    void updateStar(int id, float star);

}




